<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.transitionbox{
				width: 100px;
				height: 100px;
				border: 3px solid;
				background-color: red;
				transition: 1s;
			}
			.transitionbox:hover{
				width: 200px;
				height: 200px;
			}
			#pull{
				width: 100px;
				height: 100px;
				border: 1px solid;
				margin-top: 100px;
				transition: 2s;
			}
			#pull:hover{
				width: 300px;
				height: 300px;
			}
		</style>
	</head>
	<body>
		<h3>拉伸盒子动画效果</h3>
		<div class="transitionbox"></div>
		<div id="pull"></div>
	</body>
</html>
